import React from 'react'
import {Link} from 'react-router'

import '../public/css/notfound.scss'

import TopBar from '../components/TopBar'
import Nav from '../components/Nav'
import Footer from '../components/Footer'

import notfound from '../public/img/img_404.png'

class NotFound extends React.Component{
    render(){
        return(
            <div style={{position:"relative"}}>
                <TopBar/>
                <div className="notfound">
                    <Nav/>
                    <div>
                        <img src={notfound} alt=""/>
                        <p>您访问的页面不存在</p>
                        <div className="gobackindex"><Link to="/">回到首页</Link></div>
                    </div>
                </div>
                <Footer/>
            </div>
        )
    }
}

export default NotFound